{% extends "base.html" %}

{% block title %}Email change - {{block.super}}{% endblock %}

{% block content %}

<h1>Email confirmation {% if valid %} successful {% else %} failed {% endif %}</h1>
<p>
    {% if valid %} 
    Your email address was changed.
    {% else %}
    Your email could not be changed: <em>{{message}}</em>
    {% endif %}
</p>

{% if form %}
<form action="" method="get">
email: <input type="text" name="email"/>
<input type="submit" value="ok"/>
</form>
{% endif %}

{% endblock %}
 
